package interview.design.singleton;

/**
 * 枚举单例
 * Created by yzy on 2021-01-29 18:37
 */
public enum EnumSingleton {
    INSTANCE;

    public void whateverMethod(){
        // 这里是单例的方法
    }
}
